package com.caocaog.market.vo;


import com.caocaog.market.entity.MemberAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.math.BigDecimal;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
@ApiModel(value = "用户当前地址和店铺的距离VO")
public class DistanceVo {

    @ApiModelProperty(value = "gpsFromLat")
    private double gpsFromLat;
    @ApiModelProperty(value = "gpsFromLng")
    private double gpsFromLng;
    @ApiModelProperty(value = "gpsToLat")
    private double gpsToLat;
    @ApiModelProperty(value = "gpsToLng")
    private double gpsToLng;
    @ApiModelProperty(value = "用户的地址id")
    private String addressId;
    @ApiModelProperty(value = "用户id")
    private String memberId;
    @ApiModelProperty(value = "店铺id")
    private String shopId;
    @ApiModelProperty(value = "距离(米)")
    private String distance;
    @ApiModelProperty(value = "订单金额")
    private String amount;
    @ApiModelProperty(value = "配送费")
    private String distanceAmount;
    @ApiModelProperty(value = "用户的地址详情")
    private MemberAddress memberAddress;
}
